# -*- coding:utf8 -*- #
# -----------------------------------------------------------------------------------
# ProjectName:  property-ui-auto-test
# FileName:     debug.py
# Author  :
# Datetime:     2022/9/28 11:48
# Description：
# -----------------------------------------------------------------------------------
from time import sleep

from page.login_page import LoginPage


class DeBUG(LoginPage):
    def test(self):
        self.click('//*[@id="app"]/section/section/aside/div/img')
        sleep(0.5)
        self.click('//*[@id="app"]/section/section/aside/div/div/ul/li[7]/div')
        sleep(0.3)
        self.click('//*[@id="app"]/section/section/aside/div/div/ul/li[7]/ul/li[2]/ul/li')
        sleep(3)
        self.click('//*[@id="app"]/section/section/main/section/section/section/main/div[1]/div[3]/table/tbody/tr[1]/td[9]/div/img[1]')
        # self.js_click('//*[@id="app"]/section/section/main/section/section/section/main/div[1]/div[3]/table/tbody/tr[1]/td[9]/div/img[1]')

if __name__ == '__main__':
    debug = DeBUG()
    debug.login("13618013781",123123)
    debug.test()

